package com.mapperdb.mapping;

import org.apache.ibatis.builder.BuilderException;
import org.apache.ibatis.mapping.BoundSql;
import org.apache.ibatis.mapping.SqlSource;

/**
 * 空 SqlSource 临时 对象
 * @ClassName: EmptySqlSource 
 * @author huangx
 * @date 2015年6月14日 上午9:39:56
 */
public class EmptySqlSource implements SqlSource {
	public static final SqlSource global = new EmptySqlSource();

	public EmptySqlSource() {
	}

	@Override
	public BoundSql getBoundSql(Object parameterObject) {
		throw new BuilderException("empty sqlsource");
	}
}
